import React ,{Component} from 'react'
import './style.less'
import Header from '../../../../components/LoginComponent/Header'
import SuccessIcon from "../../../../static/icon/LoginSuccess.png"
import {Link} from 'react-router-dom'

export default class Success extends Component{
  render(){
    return(
      <div className='successd'>
        <Header title='手机账号' history={this.props.history}/>
        <div className='success'>
        	 <div className="success-icon">
        	 	<img className='success-img' src={ SuccessIcon } alt="图片加载失败" />
        	 </div>
        </div>
        <p className="success-set">设置成功</p>
        <div className='prompt'>新密码设置成功,请牢记您的密码</div>
        <Link to='/login'><button className='confirm'>确认登录</button></Link>
      </div>
    )
  }
}
